package ModelLayer;


public class Customer extends Person
{
    //instance variables
    private Discount discount;
    private String type;
    
    /**
     * Empty constructor for testing purposes
     */
    
    public Customer()
   
    {
        discount = new Discount();
        type = "";
    }
    
    /**
     * Constructor for object of class Order
     */
    
    public Customer(Discount _discount, String _type)
    {
       discount = _discount;
       type = _type;
    } 
    
    /**
     * Accessor and Mutator methods
     */
    
    public void setType(String _type)
    {
        type = _type;
    }
    
    public String getType()
    {
        return type;
    }
    
    public void setDiscount(Discount _discount)
    {
        discount = _discount;
    }
    
    public Discount getDiscount()
    {
        return discount;
    }
    
}